﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace MvcHeatloss.Models
{
    [MetadataType(typeof(RadiatorData))]
    public partial class Radiator
    {
    }

    public class RadiatorData
    {
        [Required(ErrorMessage = "You must enter a Radiator ID")]
        [Display(Name = "Radiator ID")]
        public string RadiatorID { get; set; }

        [Required(ErrorMessage = "You must enter a Type")]
        [Display(Name = "Radiator Type")]
        public decimal Type { get; set; }

        [Required(ErrorMessage = "You must enter a Radiator Height")]
        [Display(Name = "Radiator Height")]
        public decimal Height { get; set; }

        [Display(Name = "Length")]
        public decimal Length { get; set; }

        [Display(Name = "BTU Output")]
        public int BTU { get; set; }

        [Display(Name = "Title")]
        public string Title { get; set; }

        [Display(Name = "Deliver")]
        public string Delivery { get; set; }

        [Display(Name = "Guarantee")]
        public string Guarantee { get; set; }

        [Display(Name = "Price GBP")]
        public decimal Price { get; set; }

        [Display(Name = "Description")]
        public string Description { get; set; }

    }
}